package com.cn.wanxi.thread;

public class MyThread extends Thread {

    //    public String name;
    public MyThread(String name) {
        super(name);
    }

    /**
     * this,super的区别？
     */
    @Override
    public void run() {
        System.out.println(getName());
    }
}
